Skip to content

Fix to 128 bit int unaligned loads #684

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2025
Merged

Conversation

FractalFir
Copy link
Contributor

This PR fixes the segfault caused by packed structs containing u128 / i128. #683

I also added a test to detect any regressions like this in the future.

Copy link
Contributor

@antoyo antoyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find!

@FractalFir
Copy link
Contributor Author

Should be OK to merge now.

Copy link
Contributor

@antoyo antoyo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!

@antoyo antoyo enabled auto-merge May 27, 2025 22:12
@antoyo antoyo merged commit d80802b into rust-lang:master May 27, 2025
38 checks passed
FractalFir pushed a commit to FractalFir/rustc_codegen_gcc that referenced this pull request May 28, 2025
Fix to 128 bit int unaligned loads
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants